//
//  Mediator+BKGuidePage.m
//  bestkeep
//
//  Created by yons on 16/11/16.
//  Copyright © 2016年 utouu. All rights reserved.
//

#import "Mediator+BKGuidePage.h"


NSString *const BKGuidePageTarget =@"BKGuidePageAction";
NSString *const BKGuidePageChoice = @"BKGuideAppear";
NSString *const BKGuidePageAppear = @"BKGuideAppearFrom:";
@implementation Mediator (BKGuidePage)
-(void)BKGuidePageChoiceAppear{
    
    MediatorOptions *options = [MediatorOptions optionsWithTargetName:BKGuidePageTarget actionName:BKGuidePageChoice];
   
     [self performWithOptions:options];
     }
-(void)BKGuidePageAppear:(UIViewController *)Controller{
    MediatorOptions *options = [MediatorOptions optionsWithTargetName:BKGuidePageTarget actionName:BKGuidePageAppear];
    options.parameters = @{@"Controller":Controller};
    
    [self performWithOptions:options];
    
    }
@end
